package pers.whj.util.list;

public interface MinMaxHeap<T> extends Heap<T> {
    int LEVEL_MIN = 0;
    int LEVEL_MAX = 1;

    T deleteMin();

    T deleteMax();

    T peekMax();

    T peekMin();

    int level(int index);
}